package com.zt.bigdata.eureka.feign.controller;

import com.zt.bigdata.eureka.feign.service.ScheduleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: zhangtong
 * @Date: 2018/9/12 上午11:06
 */
@RestController
public class Controller {
    @Autowired
    private ScheduleService scheduleService;


    @GetMapping(value = "/hello")
    String hello() {
        return scheduleService.hello();
    }
}
